container: ensure we only append a single node
authorBenjamin Otte <otte@redhat.com>
Tue, 15 Nov 2016 21:39:26 +0000 (22:39 +0100)
committerBenjamin Otte <otte@redhat.com>
Tue, 15 Nov 2016 21:39:26 +0000 (22:39 +0100)
commitf728f3338214024471a52b188a2affe0cf7a2f04
tree38531a9c4bfc9e19a6b83c301f0330d742bef845
parent2e9ff11c85eea672b573d60173e0a7193a8471d0
container: ensure we only append a single node

The snapshot vfuncs must only append at most a single node,
otherwise things are going to break if the widget is the root node.

Unfortunately there is no code that can check this in a generic fashion,
so we'll have to debug this on a case-by-case basis.
gtk/gtkcontainer.c